/**
 *
 * @author lty
 */
public class Main {
    public static void main(String[] args) {
        Payment alipay=new Alipay();
        Payment unionPay = new UnionPayAdapter(new UnionPay());

        alipay.pay(100);
        unionPay.pay(300.00);
    }
}
